Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Functions / Working With Paper Types


GXGetPaperTypeName

You can use the GXGetPaperTypeName function to obtain the name of a paper-type object.

void GXGetPaperTypeName (gxPaperType aPaperType,
                        Str31 name);
aPaperType

A reference to the paper-type object from which to obtain the name.
name
On return, the name of the paper type.
DESCRIPTION
The GXGetPaperTypeName function returns the name of the paper-type object specified by the aPaperType parameter. The aPaperType parameter must refer to a valid paper-type object. The name of the paper-type object is returned in the name parameter.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
gxPaperTypeNotFoundThe paper-type object cannot be located.
SEE ALSO
For an example that uses the GXGetPaperTypeName function, see "Obtaining the Name of a Paper Type" on page 4-32.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help